//
//  GGFaceIdManManage.h
//  ToolsDemo
//
//  Created by IOS on 2021/6/30.
//

#import <Foundation/Foundation.h>
#import "GGBiometricModel.h"
#import <LocalAuthentication/LocalAuthentication.h>

NS_ASSUME_NONNULL_BEGIN

@interface GGFaceIdManManage : NSObject

+ (GGFaceIdManManage *)shareManage;
/// 是否要存储当前信息
@property (nonatomic,assign) BOOL needSave;
///运行识别
+ (void)gg_runFaceAction:(void(^)(void))succ faile:(void(^)(NSInteger code))faile;
/// 检测功能
+ (void)gg_checkFaceAction:(void(^)(void))succ faile:(void(^)(NSInteger code))faile;
/// 是否展示按钮
+ (BOOL)gg_showBtn;
/// 是否已有相同账号
+ (BOOL)gg_checkIsEqual;
/// 获取设备支持的 显示 face、touch
+ (NSString *)gg_getSuportTypeStr;
/// 设备范围 0：不支持 1：指纹 2：x以后face
+ (NSInteger)gg_platformType;
/// 是否支持生物识别
+ (BOOL)gg_isSuportBiometrics;
+ (void)gg_saveData;
+ (void)gg_removeCache;
+ (BOOL)gg_isFirst;
+ (void)gg_setFirst;
+ (GGBiometricModel *)gg_model;
+ (NSString *)gg_token;


@end

NS_ASSUME_NONNULL_END
